package samfeng.erp.warehouse.convert;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import samfeng.erp.warehouse.controller.vo.WarehouseCreateReqVO;
import samfeng.erp.warehouse.controller.vo.WarehouseExcelVO;
import samfeng.erp.warehouse.controller.vo.WarehouseRespVO;
import samfeng.erp.warehouse.controller.vo.WarehouseUpdateReqVO;
import samfeng.erp.warehouse.dal.dataobject.WarehouseDO;
//import cn.iocoder.yudao.module.stock.controller.admin.warehouse.vo.*;
//import cn.iocoder.yudao.module.stock.dal.dataobject.warehouse.WarehouseDO;

/**
 * 仓库 Convert
 *
 * @author samfeng
 */
@Mapper
public interface WarehouseConvert {

    WarehouseConvert INSTANCE = Mappers.getMapper(WarehouseConvert.class);

    WarehouseDO convert(WarehouseCreateReqVO bean);

    WarehouseDO convert(WarehouseUpdateReqVO bean);

    WarehouseRespVO convert(WarehouseDO bean);

    List<WarehouseRespVO> convertList(List<WarehouseDO> list);

    PageResult<WarehouseRespVO> convertPage(PageResult<WarehouseDO> page);

    List<WarehouseExcelVO> convertList02(List<WarehouseDO> list);

}
